import Vue from 'vue'
import { sync } from 'vuex-router-sync'
import App from './components/App'
import router from './router'
import store from './store'
import './api/static';

//引入mintui
import MintUI from 'mint-ui'
Vue.use(MintUI)

// 引入animate.css
import animate from 'animate.css'

sync(store, router)
import axios from 'axios';
import VueAxios from 'vue-axios';
Vue.use(VueAxios, axios);

import VueQINIU from './api/static.js'
Vue.use(VueQINIU);

const app = new Vue({
    router,
    store,
    ...App
})
export { app, router, store }